package com.gton.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 产品进货单(ProductBuying)表实体类
 *
 * @author 郭童
 * @since 2023-06-27 22:20:10
 */
@Data
@Accessors(chain = true)
@TableName("product_buying")
@ApiModel(value = "ProductBuying", description = "EasyCode")
public class ProductBuying implements Serializable {
 private static final long serialVersionUID = 1L;
   
        @TableId(value = "id", type = IdType.ASSIGN_ID) 
        @ApiModelProperty("主键")
        private Long id;
       
        @TableField(value = "product_name")
        @ApiModelProperty("商品名称")
        private String productName;
       
        @TableField(value = "product_buying_count")
        @ApiModelProperty("产品进货数量")
        private Double productBuyingCount;
       
        @TableField(value = "product_attribute")
        @ApiModelProperty("产品属性")
        private String productAttribute;
       
        @TableField(value = "product_color")
        @ApiModelProperty("产品颜色")
        private String productColor;
       
        @TableField(value = "product_identifier")
        @ApiModelProperty("产品编号")
        private String productIdentifier;
       
        @TableField(value = "product_type")
        @ApiModelProperty("产品类型")
        private String productType;
       
        @TableField(value = "product_image")
        @ApiModelProperty("产品视图")
        private String productImage;
       
        @TableField(value = "product_desc")
        @ApiModelProperty("产品说明")
        private String productDesc;
       
        @TableField(value = "product_order")
        @ApiModelProperty("产品优先级（默认100；越小越优先）")
        private Integer productOrder;
       
        @TableField(value = "product_address")
        @ApiModelProperty("产品来源")
        private String productAddress;
       
        @TableField(value = "product_buying_price")
        @ApiModelProperty("产品进货价")
        private Double productBuyingPrice;
    
}

